package com.whfc.emp.mqtt;

import org.springframework.context.ApplicationEvent;

/**
 * @author qzexing
 * @version 1.0
 * @date 2021/12/9 16:22
 */
public class MqttReceiverEvent extends ApplicationEvent {

    private final String message;

    public MqttReceiverEvent(String message) {
        super(message);
        this.message = message;
    }

    public String getMessage() {
        return message;
    }
}
